﻿using Microsoft.AspNetCore.Authorization;

namespace WebService.Authorize
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
    public class AJAuthorizeAttribute : AuthorizeAttribute
    {
        public AJAuthorizeAttribute() : base()
        {
            base.AuthenticationSchemes = "api-token";
            //base.Policy = "idtype";
        }
    }
}
